package com.example.isoftservice.mapper;

import com.example.isoftservice.pojos.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper {
    List<Map<String,Object>> orderSelect(Order order);
    List<Map<String,Object>>  orderSelectNumber(Order order);

    List<Map<String,Object>> selectProduct();
    List<Map<String,Object>> selectUser();
    List<Map<String,Object>> selectStoreId();

    Integer orderInsert(Order order);
   // Integer stockDelete(Stock stock);
   // Integer stockUpdate(Stock stock);
   //    更新order的信息
   Integer OrderUpdate(Order order);

    //   删除order的信息
    Integer OrderDelete(Order order);
    List<Map<String,Object>>  orderCompleteNumber();
    List<Map<String,Object>>  orderNoCompleteNumber();
    List<Map<String,Object>>  orderNumber0();
    List<Map<String,Object>>  orderNumber1();
    List<Map<String,Object>>  orderNumber2();
    List<Map<String,Object>>  orderNumber3();
    List<Map<String,Object>>  orderNumber4();
    List<Map<String,Object>>  orderNumber5();
    List<Map<String,Object>>  orderNumber6();
}



